Skip to content

Comments

Rust toolchain 1.93.1#499

Merged
side2k merged 13 commits intomainfrom
rust-toolchain-1.93.1
Feb 23, 2026
Merged

Rust toolchain 1.93.1#499
side2k merged 13 commits intomainfrom
rust-toolchain-1.93.1

Conversation

@side2k
Copy link
Contributor

@side2k side2k commented Feb 19, 2026

  • bump toolchain to the latest stable version at the moment
  • update dependencies
  • pin cosmwasm-optimizer toolchain version, because rust-toolchain.toml is leaking into the container
    • I've tried updating cosmwasm-optimizer's toolchain too (see PR for 1 and PR 2), but ended up with an issue - localosmosis image's wasmd (up to version 31.0.1) is not compatible with bulk memory instructions in contracts, and Rust 1.93.1 seems to not be able to turn that feature off, despite the relevant flags
  • fix some linting issues - some were caused by clippy update, some - by the rest of toolchain update (e.g., integer types now have is_multiple_of() method since Rust 1.87)
  • increase tx timeout in postgres tests, 10s was not enough - I'm not sure why, but its seems to be something related to either Rust or dependencies update

@side2k side2k requested review from psibi and snoyberg February 19, 2026 06:15
@side2k side2k force-pushed the rust-toolchain-1.93.1 branch from 6eac845 to 015828f Compare February 19, 2026 06:25
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Feb 19, 2026

Deploying kolme with  Cloudflare Pages  Cloudflare Pages

Latest commit: 55c21e2
Status: ✅  Deploy successful!
Preview URL: https://001c7e96.kolme.pages.dev
Branch Preview URL: https://rust-toolchain-1-93-1.kolme.pages.dev

View logs

Copy link
Member

@psibi psibi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you fix the CI failures ?

@side2k side2k force-pushed the rust-toolchain-1.93.1 branch from 5cf23ad to b14d608 Compare February 19, 2026 15:23
@side2k side2k requested a review from psibi February 19, 2026 16:48
let kolme = Kolme::new(app, code_version, store).await?;
let kolme = Kolme::new(app, code_version, store)
.await?
.set_tx_await_duration(Duration::from_secs(15));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also looks suspicious: What was the earlier duration and why is it being changed now ?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I missed the description of the PR.

increase tx timeout in postgres tests, 10s was not enough - I'm not sure why, but its seems to be something related to either Rust or dependencies update

Can you look into the root cause of the change? If it's just the GitHub runners, that's fine. Otherwise, we need to know what it is so we can decide how to proceed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did look(with a limited timeframe though), and wasn't able to find the culprit. Locally it works, on CI it fails with a timeout.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, some questions:

  • Is the issue currently reproducible on the main branch with 1.86 rust version ?
  • What happens in the CI if you skip the dependency upgrade ?

Copy link
Contributor Author

@side2k side2k Feb 23, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the issue currently reproducible on the main branch with 1.86 rust version ?

As far as I can tell from action logs on other branches - it is not.

What happens in the CI if you skip the dependency upgrade ?

Will check that and update you.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted:

  • timeout increase
  • dependency bump
  • and also reverting relevant code changes(replacing Keypair::from_bytes() with Keypair::try_from() due to deprecation)

(see commit list for more details)

tests succeded two times in a row.
I guess we can stop here?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we can stop here?

Agreed, I'm happy we don't have to increase the timeout to make the tests pass.

Looks like one of the dependency is causing the issue, you can address that in a future PR if you have the time. :-)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I'm going to create a ticket in Jira for the backlog, so the knowledge won't be lost

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@side2k side2k merged commit f83bff1 into main Feb 23, 2026
5 checks passed
@side2k side2k deleted the rust-toolchain-1.93.1 branch February 23, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants